package com.hqyj.crmdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 何万林
 * @since 2022-10-17
 */
@TableName("business_record")
@ApiModel(value = "BusinessRecord对象", description = "")
public class BusinessRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业务记录编号")
    @TableId(value = "business_id", type = IdType.AUTO)
    private Integer businessId;

    @ApiModelProperty("业务记录日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate businessDate;

    @ApiModelProperty("业务记录地点")
    private String businessPlace;

    @ApiModelProperty("业务记录概要")
    private String businessOutline;

    @ApiModelProperty("业务记录详细信息")
    private String businessInformation;

    @ApiModelProperty("客户编号")
    private String businessUser;

    @ApiModelProperty("客户经理")
    private String businessDev;

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public LocalDate getBusinessDate() {
        return businessDate;
    }

    public void setBusinessDate(LocalDate businessDate) {
        this.businessDate = businessDate;
    }

    public String getBusinessPlace() {
        return businessPlace;
    }

    public void setBusinessPlace(String businessPlace) {
        this.businessPlace = businessPlace;
    }

    public String getBusinessOutline() {
        return businessOutline;
    }

    public void setBusinessOutline(String businessOutline) {
        this.businessOutline = businessOutline;
    }

    public String getBusinessInformation() {
        return businessInformation;
    }

    public void setBusinessInformation(String businessInformation) {
        this.businessInformation = businessInformation;
    }

    public String getBusinessUser() {
        return businessUser;
    }

    public void setBusinessUser(String businessUser) {
        this.businessUser = businessUser;
    }

    public String getBusinessDev() {
        return businessDev;
    }

    public void setBusinessDev(String businessDev) {
        this.businessDev = businessDev;
    }

    @Override
    public String toString() {
        return "BusinessRecord{" +
            "businessId = " + businessId +
            ", businessDate = " + businessDate +
            ", businessPlace = " + businessPlace +
            ", businessOutline = " + businessOutline +
            ", businessInformation = " + businessInformation +
            ", businessUser = " + businessUser +
            ", businessDev = " + businessDev +
        "}";
    }
}
